﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessPlatform.Core.Result
{
    /// <summary>
    /// 返回结果集
    /// </summary>
    /// <typeparam name="T"></typeparam>
    internal interface IResultT<T> : IResult
    {
        /// <summary>
        /// 返回操作结果集
        /// </summary>
        new IList<T> BusinessObject { get; }
        /// <summary>
        /// 设置操作结果标志
        /// </summary>
        /// <param name="Flag"></param>
        void SetResultFlag(bool Flag);
        /// <summary>
        /// 设置操作结果
        /// </summary>
        /// <param name="Flag"></param>
        /// <param name="Message"></param>
        void SetResult(bool Flag, string Message);
    }
}
